package com.eastfair.pay.enums;

import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @author Du Xiaobo
 * @date 2023/4/11 18:45
 */
@Getter
@NoArgsConstructor
@ApiModel(value = "InvoiceExamineStateEnum", description = "开票状态")
public enum InvoiceExamineStateEnum {
    APPLIED("APPLIED","已申请"),
    INVOICING("INVOICING", "开票中"),
    REJECT("REJECT", "被驳回"),
    INVOICE_CANCEL("INVOICE_CANCEL","已取消"),
    INVOICE_SUCCESS("INVOICE_SUCCESS", "已开票"),
    INVOICE_FAIL("INVOICE_FAIL", "开票失败"),
    INVOICE_RED("INVOICE_RED", "开票冲红"),
    ;
    private String code;

    private String text;

    InvoiceExamineStateEnum(String code, String text) {
        this.code = code;
        this.text = text;
    }
}
